//
//  NSDictionary+Extend.m
//  XLDoctor
//
//  Created by longma on 2018/12/27.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "UIImageView+MJUI.h"


@implementation UIImageView (MJUI)

- (void)mj_setHeadImageWithURLString:(nullable NSString *)url gender:(NSString *)gender{
    
    [self sd_setImageWithURL:[NSURL URLWithString:url ?:@""] placeholderImage:[gender isEqualToString:@"Male"] ? MJUIImageMake(@"icon_man"):MJUIImageMake(@"icon_woman")];

}



@end
